import VueRouter from "vue-router"
import Vue from "vue"
import Login from "@/pages/Login"
import Home from "@/pages/Home"

Vue.use(VueRouter)

const router = new VueRouter({
    mode:"history",
    routes:[
        {path:"/Home",component:Home},
        {path:"/Login",component:Login}
    ]
})
export default router